package com.tony.threadExecutor;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

/**
 * @author tonywang
 * @date 8/2/2018
 */
public class ExecutorTest {
    public static void main(String[] args){
        Executor executor = Executors.newSingleThreadExecutor();
        executor.execute(()->{
            System.out.println("thread start");
        });
    }

}
